package com.guawazi.activity;

import android.os.Bundle;

import com.guawazi.R;
import com.guawazi.base.BaseActivity;
import com.guawazi.widget.CommonTitleBar;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class RegisterActivity extends BaseActivity {

    @BindView(R.id.title_bar)
    CommonTitleBar titleBar;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_register);
        ButterKnife.bind(this);

        init();
    }

    private void init() {
        titleBar.setTitle("注册");
        titleBar.setLeftClickFinish(this);
    }

    @OnClick(R.id.register_btn)
    public void onViewClicked() {
        showToast("注册成功！请登录");
        onBackPressed();
    }
}
